package com.esd.crm.service;

import java.util.List;

import com.esd.crm.entity.User;

public interface UserService {
	public int deleteByPrimaryKey(Integer userId);

	public int insert(User record);

	public int insertSelective(User record);

	public User selectByPrimaryKey(Integer userId);

	User selectByName(String name);

	public List<User> selectAll(int page, int totle);

	public int selectCount();

	public int updateByPrimaryKeySelective(User record);

	public int updateByPrimaryKey(User record);
}
